package com.hyfrogx.modules.manage.entity.video;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@TableName("hy_channel_apk")
public class ApkChannel {
    private Integer id;

    private Integer uid;

    @NotNull(message="渠道号不能为空")
    private Integer channelNum;

    @NotNull(message="渠道名称不能为空")
    private String channelName;

    private String remark;

    private Date createDate;

    @NotNull(message="渠道类型不能为空")
    @Max(value=1,message="渠道类型区间错误")
    @Min(value=0,message="渠道类型区间错误")
    private Integer channelType;

    private Date updateDate;

    @NotNull(message="渠道状态不能为空")
    @Max(value=1,message="渠道状态区间错误")
    @Min(value=0,message="渠道状态区间错误")
    private Integer status;

    //private String username;

}
